<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
        <title>解析Node接口</title>
        <script>
            let array;
            console.log( 'Node的类属性(值属性和函数属性)' );
            array = Object.getOwnPropertyNames( Node );
            array.forEach( name => console.log( '\t', name ) );
            console.log( 'Node的原型属性(值属性和函数属性)' );
            array = Object.getOwnPropertyNames( Node.prototype );
            array.forEach( name => console.log( '\t', name ) );
        </script>
    </head>
    <body>
        <h1>解析Node接口</h1>
        <p>请在浏览器终端中查看运行结果</p>
    </body>
</html>